import React from 'react'
import Icon from "react-native-vector-icons/dist/Ionicons"

export default class CustomIcon extends React.Component {
    render() {
        const { name, size, color } = this.props
        return <Icon name={name} size={size || 30} color={color || '#4F8EF7'} />
    }
}
